<template >
  <view class="companyInfo">
    <text class="companyName">{{ companyNames }}</text>
    <view class="versionInfo" v-if="versionCode">
      <text class="versionName"> 当前版本: {{ versionCode }}{{ times }}</text>
    </view>
  </view>
</template>





<script>
export default {
  props: {
    companyNames: {
      type: String,
      default: ""
    },
    versionCode: {
      type: String,
      default: ""
    },
    times: {
      type: String,
      default: ""
    },
  },
  data() {
    return {}
  }
}
</script>

<style scoped>
.companyInfo {
  width: 100%;
  height: 60rpx;
  position: fixed;
  bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding-bottom: calc(constant(safe-area-inset-bottom) +10rpx); */
  /* padding-bottom: calc(env(safe-area-inset-bottom) +10rpx); */
}

text {
  color: gray;
  font-size: 12px;
}
</style>